#include<iostream>
using namespace std;
int main(){
    //37:雇佣兵
    int M,N,X,used;
    cin>>M>>N>>X;
    while(X){
        //补充体力
        used=(M%N==0)?M/N:M/N+1;
        if(used>X) break;
        X-=used;
        //开始战斗，增加战斗值
        N+=M/N;
    }
    cout<<N<<endl;
    return 0;
}